<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>first prototype test cases </title>
		<link href="styles.css" rel="stylesheet" type="text/css" />
	</head>

	<body>

		<div id="top">
			<div id="logo"><font size="4">Test Plan V1.0 </font></div>
			<div id="slogan"><span class="slogan">RoadMate</span></div>
		</div>
		
		<div id="content">
			
			<div id="menu">
						
			</div>

		  <div id="bodyContent" class="normalText">
		    <p> 
		    <h3>Notation</h3>
			  <table width="717" border="1" cellpadding="0" cellspacing="0">
			    <tr>
			      <td width="191">Condition</td>
			      <td width="171">Pass</td>
			      <td width="200">Fail</td>
			      <td width="187">Not Implement </td>
		        </tr>
                <tr>
                  <td>Condition description </td>
                  <td>P</td>
                  <td>F</td>
                  <td>NI</td>
                </tr>
	        </table>
			  
	      </p>
			  
			  <p> 
			  <h3>Instruction</h3>
			  Tools : Selenium IDE<br />
 </p>
		      <p> The testing process: <br />
              </p>
		      <ul>
                <li>Step by Step following test case.</li>
		        <li>using Selenium IDE record action such as click a link and click submit button</li>
		        <li>accoriding to selenium record, conduct final test results.</li>
	          </ul>
		      <p>
			  <h3>Test case</h3>
			   <h4>1. Navigation test</h4>
			   Objective: <ul>
			                   <li>navigation links should reach right page.</li>
							   
			              </ul>
						  
						  <table border="1" cellpadding="10" cellspacing="0">
			          <tr>
			            <td align="left" valign="baseline" width="63"><strong>reference <br />Use Case </strong></td>
			            <td align="left" valign="baseline" width="95"><strong>Test Objects</strong> </td>
			            <td align="left" valign="baseline" width="149"><strong>reference pages</strong> </td>
			            <td align="left" valign="baseline" width="283"><strong>Action or Input </strong></td>
			            <td align="left" valign="baseline" width="336"><strong>Expected</strong></td>
		              </tr>
                      <tr>
                        <td align="left" valign="baseline" height="51">1</td>
                        <td align="left" valign="baseline"> link : HOME</td>
                        <td align="left" valign="baseline">Home Page </td>
                        <td align="left" valign="baseline">click</td>
                        <td align="left" valign="baseline">redirect to home page </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline" height="47">2</td>
                        <td align="left" valign="baseline">link : MY PROFIlE </td>
                        <td align="left" valign="baseline">Home page </td>
                        <td align="left" valign="baseline">1.click without login <br />
						2. click after log in </td>
                        <td align="left" valign="baseline">1.redirect to log in page<br />
						2. redirect to my profile page </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline">3</td>
                        <td align="left" valign="baseline"><p>link: offer ride </p>                        </td>
                        <td align="left" valign="baseline">Home page </td>
                        <td align="left" valign="baseline"><p>1.click without log in<br />
						 2.click after log in </p>                          </td>
                        <td align="left" valign="baseline">1.redirect to log in page<br />
						2. redirect to offer ride page                        </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline">4</td>
                        <td align="left" valign="baseline">link: home </td>
                        <td align="left" valign="baseline">slide bar<br />
                           Menue                        </td>
                        <td align="left" valign="baseline"> click</td>
                        <td align="left" valign="baseline">redirect to home page<br />                        </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline">5</td>
                        <td align="left" valign="baseline">link: Edit</td>
                        <td align="left" valign="baseline">view rides offer page </td>
                        <td align="left" valign="baseline">click  </td>
                        <td align="left" valign="baseline">redirect to edit page . </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline" height="52">6 </td>
                        <td align="left" valign="baseline">link: Edit profile</td>
                        <td align="left" valign="baseline">My Profile page </td>
                        <td align="left" valign="baseline">click<br /></td>
                        <td align="left" valign="baseline">redirect to my profile edit page<br />                        </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline" height="52">7</td>
                        <td align="left" valign="baseline">link: Support </td>
                        <td align="left" valign="baseline">Home page </td>
                        <td align="left" valign="baseline">click</td>
                        <td align="left" valign="baseline">redirect to Support page</td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline" height="52">8</td>
                        <td align="left" valign="baseline">link: About </td>
                        <td align="left" valign="baseline">Home  page </td>
                        <td align="left" valign="baseline">click<br /></td>
                        <td align="left" valign="baseline">redirect to About page <br />                        </td>
                      </tr>
                      <tr>
                        <td align="left" valign="baseline" height="52">9</td>
                        <td align="left" valign="baseline">link:Browse rides </td>
                        <td align="left" valign="baseline">Home page </td>
                        <td align="left" valign="baseline">click</td>
                        <td align="left" valign="baseline">redirct to rides list page </td>
                      </tr>
            </table>
			<p>&nbsp;</p>
			<h4>2. Forms test: </h4>
			<p>
			<b>2.1 Testing rider offer create form process :</b>
			</p>
			<p>
			<img src="images/testcreateofferform.gif" alt="Test create offer form" />
			</p>
			
			<p>Test method: Tester need to use Selenium tools writting python class and automatically test form</p>
			<p> testing data :<br />
			   
			   <br />
			   1. group1 contain valid data <br/>
			   (["label=Alexandra","label=Ashburton","label=2","label=February","label=2009","label=12:30am","4","A"],\
                   ["label=Alexandra","label=Auckland","label=4","label=March","label=2008","label=11:00am","5","B"],\
                   ["label=Brighton","label=Coromandel","label=11","label=May","label=2010","label=10:00am","6","c"],\
                    ["label=Dargaville","label=Drury","label=14","label=July","label=2009","label=1:00pm","1","D"],\
                    ["label=Dunedin","label=Duntroon","label=16","label=June","label=2008","label=2:00pm","2","E"],\
                ["label=Edgecumbe","label=Eltham","label=19","label=July","label=2011","label=1:00pm","40","D"],\
                 ["label=Fairlie","label=Drury","label=21","label=April","label=2009","label=3:00pm","50","E"],\
                 ["label=Dargaville","label=Glenorchy","label=22","label=October","label=2012","label=4:00pm","30","F"])
               <br />
			   <br />
			   2. group2  contain unvalid data<br />
              (["label=Dargaville","label=Glenorchy","label=31","label=February","label=2012","label=4:00pm","30","F"],\
                     ["label=Dunedin","label=Duntroon","label=16","label=June","label=2008","label=5:00pm","0","E"],\
                     ["label=Dunedin","label=Duntroon","label=16","label=June","label=2008","label=5:00pm","-42","E"],\
                     ["label=Dunedin","label=Duntroon","label=16","label=June","label=2008","label=5:00pm","1000","E"],\
                      ["label=Dunedin","label=Duntroon","label=16","label=June","label=2008","label=5:00pm","aAS","E"])
					  <br />
					  <br/>
     
        
		</p>
		
		<p>&nbsp;</p>
		<p>
		2.2 Test my profile edit form		</p>
		<p><img src="images/testeditProfile.gif" alt="testeditProfile.gif" height="529" />		</p>
		
		<p>Test method: Tester need to use seliumn tools automatically filling test data into form. seliumn tools will generate test output.  </p>
		<p>Test data</p>
		dataformate=["first name", "last name", "town", "phone"]<br />
		<br />
		1.  group 1:<br />
		(["lincoln", "John", "Auckland", "061234789"] ["nickname", "k7", "Duntroon", "067892909"] ["k*9e","kdw oei  ", "Dargaville","0211234567"] ["kiwi", "kiwi","Glenorchy","027987908"] ["king", "21", "Glenorchy","097896908"]["king", "21", "Glenorchy","   097896908  "] ["king", "21", "Glenorchy","097896908 "])
		<br />
		<br />
		2.  group 2:<br />
		(["lincoln", "John", "Auckland", "88880961234789"] ["nicknametoolongeewweereerrrreeeeereeieow", "k7", "Duntroon", "067892909"] <br />
		["k*9e","kdwtoolongoooooooooooooooooooooooooooooooooooooo  ", "Dargaville","0211234567"] ["kiwi", "kiwi","Glenorchy","027987908344uyew"] ["king", "21", "Glenorchy","09789690ewqe8"][""," ","Glenorchy",""] ["   ","   ","Glenorchy","    "] )
		
		<h4>3. inteface integration test</h4>
		<b>3.1 case1: users create rides, edit rides, and browse rides</b>
		<p>Objective: test whether or not create rides function, edit rides function, browse rides function can work together.</p>
		<img src="images/integrat1.gif" alt="integrate1" />
		
		<p>Test action and data input: </p>
		
		
		
		<p>
		
		  <table border="1" cellpadding="10" cellspacing="0">
		    <tr>
		      <td align="left" valign="baseline" width="63"><strong>Case No.</strong></td>
		      <td align="left" valign="baseline" width="95"><strong>Test Objects</strong> </td>
		      <td align="left" valign="baseline" width="149"><strong>reference pages</strong> </td>
		      <td align="left" valign="baseline" width="283"><strong>Action or Input </strong></td>
		      <td align="left" valign="baseline" width="336"><strong>Expected</strong></td>
	        </tr>

            <tr>
              <td align="left" valign="baseline">1</td>
              <td align="left" valign="baseline"><p>input text boxes</p>
                  <p>drop down selection boxes </p></td>
              <td align="left" valign="baseline">offer ride create page </td>
              <td align="left" valign="baseline">input from Akaroa to Christchurch <br />
                date: 17 08 2008 <br />
                time: 9:00  	seats: 2  	commence: test1 </td>
              <td align="left" valign="baseline">the drop down list boxes have all destination , date, and time <br />
                users are able to select items<br />
                text boxes allows users to type words .<br />              </td>
            </tr>
            <tr>
              <td align="left" valign="baseline">2</td>
              <td align="left" valign="baseline">button: save </td>
              <td align="left" valign="baseline">offer ride create page </td>
              <td align="left" valign="baseline">click save button </td>
              <td align="left" valign="baseline"><p>page will be redirected into view ride offer page.<br />
                It will render following saving infomation:<br />
                Owner test@example.com<br />
                From Akaroa to Christchurch<br />
                On 2008-08-17 <br />
                departing at 09:00:00<br />
                Seats Available 2<br />
                Notes<br />
                test1<br />
              </p></td>
            </tr>
            <tr>
              <td align="left" valign="baseline">3</td>
              <td align="left" valign="baseline">link: Edit</td>
              <td align="left" valign="baseline">view rides offer page </td>
              <td align="left" valign="baseline">click edit link </td>
              <td align="left" valign="baseline">page will be redirected into edit page . <br />
                shows previous input : <br />
                from Akaroa to Christchurch <br />
                date: 17 08 2008 <br />
                time: 9:00<br />
                seats: 2<br />
                commence: test1. </td>
            </tr>
            <tr>
              <td align="left" valign="baseline" height="232">4</td>
              <td align="left" valign="baseline">edit function </td>
              <td align="left" valign="baseline">Edit  page </td>
              <td align="left" valign="baseline">change commence to test. <br />
                change seats number to 3. <br />
                change date to 15 08 2008 <br />
                change source to Christchurch<br />
                change destination to Akaroa<br />
                change time to 10:00<br />
                click save<br /></td>
              <td align="left" valign="baseline">page will be redirected to view ride offer page. The following information will be display in this page.<br />
                Owner test@example.com<br />
                From Christchurch to Akaroa<br />
                On 2008-08-15 departing at 10:00:00<br />
                Seats Available 3<br />
                Notes<br />
                test<br />              </td>
            </tr>
            <tr>
              <td align="left" valign="baseline" height="153">5</td>
              <td align="left" valign="baseline">rides browser</td>
              <td align="left" valign="baseline">browse page </td>
              <td align="left" valign="baseline">click browse rides </td>
              <td align="left" valign="baseline">page will be redirected to browse page. <br />
                late ride offered rides will show : <br />
                Christchurch - Akaroa  	2008-08-15  	3  	test.</td>
            </tr>
		    </table>
			</p>
			<p>&nbsp;</p>
	
			<p><b>3.2 case2: users log in to my profile page , edit my profile</b><br />
			<p> <img src="images/testeditProfile.gif" alt="testprofileedit" /></p>
			Objective: test whether or not view profile function and edit function can work together.</p>
			<p>
			Test action and data input:			</p>
		    <table border="1" cellpadding="10" cellspacing="0">
		      <tr>
		        <td width="93"><strong>Case No.</strong> </td>
		        <td width="127"><strong>Test Objects</strong> </td>
		        <td width="132"><strong>reference pages</strong></td>
		        <td width="211"><strong>Actions and Inputs</strong> </td>
		        <td width="203"><strong>Expected</strong> </td>
	          </tr>
              <tr>
                <td>1</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>close browser and restart browser to home page </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>2</td>
                <td>link : MY PROFILE </td>
                <td>Home Page </td>
                <td>click link </td>
                <td>browser redirect to log in page </td>
              </tr>
              <tr>
                <td>3</td>
                <td>log in page </td>
                <td>log in page </td>
                <td>input text: test@example.com<br />
                  click log in button </td>
                <td>redirect to My profile page</td>
              </tr>
              <tr>
                <td>4</td>
                <td>page contents </td>
                <td>My Profile </td>
                <td>NI</td>
                <td>my ride form shows previous records:<br />
                  Ride  	Date  	Seats<br />
                  Christchurch - Akaroa  	2008-08-15  	3  	Edit<br />
                </td>
              </tr>
              <tr>
                <td>5</td>
                <td>link: Christchurch-Akaroa </td>
                <td>View Ride offer page </td>
                <td>click link </td>
                <td>browser redirect to View page <br />
                  View ride offer show:<br />
                  Owner test@example.com<br />
                  From Christchurch to Akaroa<br />
                  On 2008-08-15 departing at 10:00:00<br />
                  Seats Available 3<br />
                  Notes<br />
                  test<br />
                </td>
              </tr>
              <tr>
                <td>6</td>
                <td>link: Edit </td>
                <td>Edit Page </td>
                <td>click link </td>
                <td><p>page contents show:</p>
                  Source: Christchurch<br />
                  Destination: Akaroa<br />
                  Date: 15-08-2008 <br />
                  Time: 10:00 <br />
                  Available seats:3<br />
                  Notes: test<br /></td>
              </tr>
              <tr>
                <td>7</td>
                <td>link: Edit profile </td>
                <td>My Profile </td>
                <td>click My Profile link and click Edit profile link </td>
                <td>brosewer redirects to my profile edit page<br />
                  my profile has text boxes avaliable for edit. </td>
              </tr>
              <tr>
                <td>8</td>
                <td>Input text boxes <br />
                  selection box<br />
                  button: save</td>
                <td>My Profile edit page </td>
                <td>input following items into text boxs or selection boxes <br />
                  and click save button<br />
                  First name: road<br />
                  Last name: mate<br />
                  Town: Akaroa<br />
                  Phone:06123456<br />
                </td>
                <td>browser redirects to My Profile page<br />
                  My Profile contents show:<br />
                  road mate<br />
                  Email: test@example.com<br />
                  Hometown: Akaroa<br />
                  Phone: 061234567 </td>
              </tr>
	        </table>
	      </div>
			
			<div id="boxBottom"></div>
		</div>
	<div id="footer">
	<a href="#">Home</a> - <a href="#">Servicios/Services</a> - <a href="#">FAQ</a> - <a href="#">Contacto/Contact US</a></div>
	<!-- Please don't delete this link -->
	<span class="design">Design by <a href="http://www.colombiahosting.com.co" target="_blank">Colombia Hosting</a></span>
	<!-- Please don't delete this link -->
	</body>
</html>